package com.github.shiqiyue.app.api.sapi.req.resource;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/***
 * 资源添加 请求
 * @author wenyao.wu
 */
@Data
public class ResourceAddReq {

    @NotEmpty
    private String name;

    @NotNull
    private Integer type;

    @NotEmpty
    private String url;

    @NotNull
    private Integer permissionType;

    private String remark;

}
